package com.ruoyi.system.saleorder.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 售后对象 sale_goods_after
 *
 * @author ruoyi
 * @date 2024-06-07
 */
@Data
public class SaleGoodsAfter extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    /**
     * 创建人ID
     */
    @Excel(name = "创建人ID")
    private Long createId;
    /**
     * 创建人
     */
    @Excel(name = "创建人")
    private String createName;
    /**
     * 时间
     */
    @Excel(name = "时间")
    private Long alongDay;
    /**
     * 类型 1 售前 2售后
     */
    private Integer type;
    /**
     * 状态
     * 1 未处理  2 未完结 3已完结
     */
    @Excel(name = "状态")
    private Integer afterStatus;

    /**
     * 编号
     */
    @Excel(name = "编号")
    private Long goodsId;

    /**
     * 游戏
     */
    @Excel(name = "游戏")
    private String gameName;

    /**
     * 游戏id
     */
    @Excel(name = "游戏id")
    private Long gameId;

    /**
     * 渠道
     */
    @Excel(name = "渠道")
    private String channel;

    /**
     * 问题类型
     */
    @Excel(name = "问题类型")
    private String problemType;

    /**
     * 管理员id
     */
    @Excel(name = "管理员id")
    private Long adminId;
    /**
     * 管理员
     */
    @Excel(name = "管理员")
    private String adminName;

    /**
     * 进度
     */
    @Excel(name = "进度")
    private String taskStatus;

    /**
     * 游戏账号
     */
    @Excel(name = "游戏账号")
    private String accountNumber;

    /**
     * 上架时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "上架时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date upTime;

    /**
     * 销售日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "销售日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date saleTime;

    /**
     * 售价
     */
    @Excel(name = "售价")
    private BigDecimal price;

    /**
     * 销售金额,实收
     */
    @Excel(name = "销售金额,实收")
    private BigDecimal salePrice;

    /**
     * 回收金额
     */
    @Excel(name = "回收金额")
    private BigDecimal costPrice;

    /**
     * 回收其他金额
     */
    @Excel(name = "回收其他金额")
    private BigDecimal costOtherPrice;

    /**
     * 回收包赔费
     */
    @Excel(name = "回收包赔费")
    private BigDecimal costRepayPrice;

    /**
     * 回收总金额
     */
    @Excel(name = "回收总金额")
    private BigDecimal costTotalPrice;

    /**
     * 利润
     */
    @Excel(name = "利润")
    private BigDecimal rise;

    /**
     * 回收人
     */
    @Excel(name = "回收人")
    private String recyclerName;

    /**
     * 完结人id
     */
    @Excel(name = "完结人id")
    private Long overId;

    /**
     * 完结人
     */
    @Excel(name = "完结人")
    private String overName;
    /**
     * 完结方案
     */
    @Excel(name = "完结方案")
    private String overDes;

    /**
     * 完结日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "完结日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date overTime;
    /**
     * 回款图片
     */
    @Excel(name = "回款图片")
    private String returnImg;
    /**
     * 回款帐号
     */
    @Excel(name = "回款帐号")
    private String returnNo;
    /**
     * 回款帐号
     */
    @Excel(name = "回款")
    private String returnCode;
    /**
     * 回款金额
     */
    @Excel(name = "回款金额")
    private BigDecimal returnPrice;
    /**
     * 还号日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "还号日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date returnTime;


    /**
     * 赔付图片
     */
    @Excel(name = "赔付图片")
    private String repayImg;
    /**
     * 赔付单号
     */
    @Excel(name = "赔付单号")
    private String repayNo;
    /**
     * 赔付单号
     */
    @Excel(name = "赔付")
    private String repayCode;
    /**
     * 赔付金额
     */
    @Excel(name = "赔付金额")
    private BigDecimal repayPrice;

    /**
     * 亏损金额
     */
    @Excel(name = "亏损金额")
    private BigDecimal downPrice;

    /**
     * des
     */
    @Excel(name = "des")
    private String des;
    /**
     * completionType
     */
    @Excel(name = "completionType")
    private String completionType;
}
